package com.lanxiao.cloud.gateway.api.dto;

import java.io.Serializable;

/**
 * @author ：qiaoliang
 * @date ：2021-09-09
 */
public class GatewayRouteDubboDto implements Serializable {

  /** 服务ID **/
  private String serviceId;
  /** 转发地址 **/
  private String uri;
  /** 访问路径 **/
  private String predicates;
  /** 过滤 **/
  private String filters;
  /** 排序 **/
  private Integer sort;

  private GatewayRouteDubboDto() {
  }

  public GatewayRouteDubboDto(String serviceId, String uri, String predicates, String filters,
      Integer sort) {
    this.serviceId = serviceId;
    this.uri = uri;
    this.predicates = predicates;
    this.filters = filters;
    this.sort = sort;
  }

  public String getServiceId() {
    return serviceId;
  }

  public String getUri() {
    return uri;
  }

  public String getPredicates() {
    return predicates;
  }

  public String getFilters() {
    return filters;
  }

  public Integer getSort() {
    return sort;
  }

}
